From: Tony Kelman Date: Mon, 22 Sep 2014 20:51:05 +0000 (-0700) Subject: add DLLEXPORT definition for __GNUC__ >= 4 X-Git-Tag: archive/raspbian/2.11.3-2+rpi1^2~24^2^2~227^2~1 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6b6786598483bdc8f9c1f743bd154137a3820886;p=utf8proc.git add DLLEXPORT definition for __GNUC__ >= 4 --- diff --git a/mojibake.h b/mojibake.h index abebbeb..03069b6 100644 --- a/mojibake.h +++ b/mojibake.h @@ -81,6 +81,8 @@ enum {false, true}; # else # define DLLEXPORT __declspec(dllimport) # endif +#elif __GNUC__ >= 4 +# define DLLEXPORT __attribute__ ((visibility("default"))) #else # define DLLEXPORT #endif